const lazyLoading = url => () => import(`../view/${url}.vue`)

const Login = lazyLoading('login')

let initRouter = [
  {
    path: '/login',
    name: 'login',
    component: Login,
    children: []
  }
]
export default initRouter